import React, { Component } from 'react';
import { PrimaryC, FirstHeaderC, ModalC, VideoC } from '../../comps';
class VideoDemo extends Component {
  // 默认值
  static defaultProps = {};
  state = {
    visible: false,
  };
  componentDidMount() {}
  UNSAFE_componentWillReceiveProps(nextProps) {}

  render() {
    return (
      <div style={{ padding: '20px' }}>
        <FirstHeaderC title='视频组件' />
        <PrimaryC
          title='跳转播放'
          onClick={() => {
            let url = window.location.origin + `/#/videoPlayer?id=1676947439956_000_000_368F6D38DA5D55291B634F5D4E5CE4A9C9F84574024AD9FFFD6A7440F9BE7877`;
            window.open(url);
          }}
        />
        <PrimaryC
          title='跳转播放WEBM'
          onClick={() => {
            let url = window.location.origin + `/#/videoPlayer?id=1677035261174_000_000_9AB1CD039043DA2B0AB57250CAD6E97E3DE6CD5C60132B2F32615489FB3FF380`;
            window.open(url);
          }}
        />
      </div>
    );
  }
}
export default VideoDemo;
